package edu.fdzc.learn.mapper;



import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import edu.fdzc.learn.entity.ExamSubmission;
import org.apache.ibatis.annotations.Param;


public interface ExamSubmissionMapper extends BaseMapper<ExamSubmission> {
    // 自定义方法
    int updateScore(@Param("id") Long id, @Param("score") Integer score);

    ExamSubmission getSubmissionById(Long submissionId);
}